home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir39 / ds62nc.zip / NCUP.BAT next >
DOS Batch File  |  1993-11-05  |  588b  |  27 lines

  1. @echo off
  2. IF EXIST NCACHE2.EXE GOTO OKAY
  3.  
  4. echo Can't find NCACHE2.EXE.
  5. echo Be sure you are in the correct directory.
  6. goto END
  7.  
  8. :OKAY
  9. rem Remove old backups
  10. IF EXIST .\BACKUP\NCACHE2.EXE DEL .\BACKUP\NCACHE2.EXE
  11.  
  12. rem Actually patch the thing
  13. NCUPP NCUP
  14.  
  15. rem Remove the files that were extracted and the patch file itself
  16. DEL NCUP.RTP > NUL
  17. DEL NCUPP.EXE > NUL
  18. DEL DS62NC.EXE > NUL
  19. echo.
  20. echo.
  21. echo The old copies of your changed files and an UNPATCH program
  22. echo have been saved in a subdirectory called BACKUP
  23. echo.
  24. rem Remove this file
  25. DEL NCUP.BAT > NUL
  26. :END
  27.